var obj = {
  data: { list: [] },
}

Object.defineProperty(obj.data, 'list', {
  get() {
    return this.data['list']
  },
  set(val) {
    console.log('值被更改了')
    console.log(val)
  }
})

obj.data.list = 'xie'